import requests
import json

res = requests.get("http://www.baidu.com")
print(res.text)

url = "http://192.168.6.91:8080"
params = {
    "username":"great",
    "passsword":"poss"
}

req = requests.get("http://127.0.0.1:8080",params = params)
requests.post(url,data=params)
print(req.json())